//
//  ViewController.m
//  MyPizzaMobile
//
//  Created by Stanislav on 2/15/13.
//  Copyright (c) 2013 Stanislav. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (readwrite) RequestManager* requestManager;
@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.requestManager = [RequestManager requestManagerInstance];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewDidUnload {
     [super viewDidUnload];
}

- (IBAction)getAllPizzaSupplements:(UIButton *)sender {
    [self.requestManager getAllPizzaSupplements];
}

- (IBAction)getPizzaSupplements:(UIButton *)sender {
    [self.requestManager getPizzaSupplementsById:1];
}

@end
